package com.scalar.chiptrack.sales;

import org.apache.struts.upload.FormFile;
import com.scalar.chiptrack.utils.StringUtils;

/**
 * User: Ganesh
 * Date: Apr 8, 2008
 * Time: 1:57:59 PM
 */
public class QuotationQuestionnairy
{
     private int quotationId = -1;
     private String quotationNo = null;  
     private int odmId = -1;
     private int endCustomerId = -1;
     private String newEndCustomerName = null;
     private String newEndUserName = null;
     private String quotationType		= null;
     private float  currentPrice		= 0.0f;
     private int    currentPriceUnits	= 0;
     private String currentPriceUnitsType = null;
     private String currentPriceOthers	= null;
     private float  targetPrice		= 0.0f;
     private String targetPriceUnitsType = null;
     private int    targetPriceUnits	= 0;
     private String targetPriceOthers	= null;
     private String historyPricesInfo	= null;
     private boolean contractPriceFlag	= false;
     private FormFile contractPriceFilePath	= null;
     private String  contractPriceFileName	= null;
     private String  contractPriceFileNamePath	= null;
     private String  contractPriceChangedReason  = null;
     private String  previousCommitments	        = null;
     private String  previousCommitmentsPrice	    = null;
     private String  commitmentAddtionalInfo	    = null;
     private boolean previousQuotation	= false;
     private String  previousQuotationDetails= null;
     private String[]  priceDiscountReason	 = null;
     private String  priceDiscountComments	 = null;
     private boolean rebate     = false;
     private float  rebateValue		    = 0.0f;
     private String rebateOpertunity	= null;
     private String rebateGoal		    = null;
     private String rebateTarget		= null;
     private float  rebateTargetValue	= 0.0f;
     private String rebateVerifiedBy	= null;
     private String competatior1		    = null;
     private String competatior1Others	    = null;
     private float  competatior1Price	    = 0.0f;
     private String competatior1PriceUnit	= null;
     private String competatior1Comments	= null;
     private String competatior2		    = null;
     private String competatior2Others	    = null;
     private float  competatior2Price	    = 0.0f;
     private String competatior2PriceUnit	= null;
     private String competatior2Comments	= null;
     private float  distributorMargin	    = 0.0f;
     private float  marginDollars		    = 0.0f;
     private String totalPrevMargins	    = null;
     private String marginReason		    = null;
     private String prevQuotationNo         = null;
     private String currentPriceUnitsString  =  null;
     private String targetPriceUnitsString    = null;
     private String competatior1PriceUnitsType = null;
     private String competatior2PriceUnitsType = null;
     private String competatior1PriceUnitOthers = null;
     private String competatior2PriceUnitOthers = null;
     private String rebateTargetGoalTimeFrame   = null;
     private String rebateTargetGoalTimeFrameOthers = null;
     private String competatior1PriceUnitString = null;
     private String competatior2PriceUnitString = null;


    public String getQuotationType() {
        return quotationType;
    }

    public void setQuotationType(String quotationType) {
        this.quotationType = quotationType;
    }

    public float getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(float currentPrice) {
        this.currentPrice = currentPrice;
    }

    public int getCurrentPriceUnits() {
        return currentPriceUnits;
    }

    public void setCurrentPriceUnits(int currentPriceUnits) {
        this.currentPriceUnits = currentPriceUnits;
    }

    public String getCurrentPriceUnitsType() {
        return currentPriceUnitsType;
    }

    public void setCurrentPriceUnitsType(String currentPriceUnitsType) {
        this.currentPriceUnitsType = currentPriceUnitsType;
    }

    public String getCurrentPriceOthers() {
        return currentPriceOthers;
    }

    public void setCurrentPriceOthers(String currentPriceOthers) {
        this.currentPriceOthers = currentPriceOthers;
    }

    public float getTargetPrice() {
        return targetPrice;
    }

    public void setTargetPrice(float targetPrice) {
        this.targetPrice = targetPrice;
    }

    public String getTargetPriceUnitsType() {
        return targetPriceUnitsType;
    }

    public void setTargetPriceUnitsType(String targetPriceUnitsType) {
        this.targetPriceUnitsType = targetPriceUnitsType;
    }

    public int getTargetPriceUnits() {
        return targetPriceUnits;
    }

    public void setTargetPriceUnits(int targetPriceUnits) {
        this.targetPriceUnits = targetPriceUnits;
    }

    public String getTargetPriceOthers() {
        return targetPriceOthers;
    }

    public void setTargetPriceOthers(String targetPriceOthers) {
        this.targetPriceOthers = targetPriceOthers;
    }

    public String getHistoryPricesInfo() {
        return historyPricesInfo;
    }

    public void setHistoryPricesInfo(String historyPricesInfo) {
        this.historyPricesInfo = historyPricesInfo;
    }

    public boolean isContractPriceFlag() {
        return contractPriceFlag;
    }

    public void setContractPriceFlag(boolean contractPriceFlag) {
        this.contractPriceFlag = contractPriceFlag;
    }


    public FormFile getContractPriceFilePath() {
        return contractPriceFilePath;
    }

    public void setContractPriceFilePath(FormFile contractPriceFilePath) {
        this.contractPriceFilePath = contractPriceFilePath;
    }

    public String getContractPriceChangedReason() {
        return contractPriceChangedReason;
    }

    public void setContractPriceChangedReason(String contractPriceChangedReason) {
        this.contractPriceChangedReason = contractPriceChangedReason;
    }

    public String getPreviousCommitments() {
        return previousCommitments;
    }

    public void setPreviousCommitments(String previousCommitments) {
        this.previousCommitments = previousCommitments;
    }

    public String getPreviousCommitmentsPrice() {
        return previousCommitmentsPrice;
    }

    public void setPreviousCommitmentsPrice(String previousCommitmentsPrice) {
        this.previousCommitmentsPrice = previousCommitmentsPrice;
    }

    public String getCommitmentAddtionalInfo() {
        return commitmentAddtionalInfo;
    }

    public void setCommitmentAddtionalInfo(String commitmentAddtionalInfo) {
        this.commitmentAddtionalInfo = commitmentAddtionalInfo;
    }

    public boolean isPreviousQuotation() {
        return previousQuotation;
    }

    public void setPreviousQuotation(boolean previousQuotation) {
        this.previousQuotation = previousQuotation;
    }

    public String getPreviousQuotationDetails() {
        return previousQuotationDetails;
    }

    public void setPreviousQuotationDetails(String previousQuotationDetails) {
        this.previousQuotationDetails = previousQuotationDetails;
    }


    public String[] getPriceDiscountReason() {
        return priceDiscountReason;
    }

    public void setPriceDiscountReason(String[] priceDiscountReason) {
        this.priceDiscountReason = priceDiscountReason;
    }

    public String getPriceDiscountComments() {
        return priceDiscountComments;
    }

    public void setPriceDiscountComments(String priceDiscountComments) {
        this.priceDiscountComments = priceDiscountComments;
    }

    public boolean isRebate() {
        return rebate;
    }

    public void setRebate(boolean rebate) {
        this.rebate = rebate;
    }

    public float getRebateValue() {
        return rebateValue;
    }

    public void setRebateValue(float rebateValue) {
        this.rebateValue = rebateValue;
    }

    public String getRebateOpertunity() {
        return rebateOpertunity;
    }

    public void setRebateOpertunity(String rebateOpertunity) {
        this.rebateOpertunity = rebateOpertunity;
    }

    public String getRebateGoal() {
        return rebateGoal;
    }

    public void setRebateGoal(String rebateGoal) {
        this.rebateGoal = rebateGoal;
    }

    public String getRebateTarget() {
        return rebateTarget;
    }

    public void setRebateTarget(String rebateTarget) {
        this.rebateTarget = rebateTarget;
    }

    public float getRebateTargetValue() {
        return rebateTargetValue;
    }

    public void setRebateTargetValue(float rebateTargetValue) {
        this.rebateTargetValue = rebateTargetValue;
    }

    public String getRebateVerifiedBy() {
        return rebateVerifiedBy;
    }

    public void setRebateVerifiedBy(String rebateVerifiedBy) {
        this.rebateVerifiedBy = rebateVerifiedBy;
    }

    public String getCompetatior1() {
        return competatior1;
    }

    public void setCompetatior1(String competatior1) {
        this.competatior1 = competatior1;
    }

    public String getCompetatior1Others() {
        return competatior1Others;
    }

    public void setCompetatior1Others(String competatior1Others) {
        this.competatior1Others = competatior1Others;
    }

    public float getCompetatior1Price() {
        return competatior1Price;
    }

    public void setCompetatior1Price(float competatior1Price) {
        this.competatior1Price = competatior1Price;
    }

    public String getCompetatior1PriceUnit() {
        return competatior1PriceUnit;
    }

    public void setCompetatior1PriceUnit(String competatior1PriceUnit) {
        this.competatior1PriceUnit = competatior1PriceUnit;
    }

    public String getCompetatior1Comments() {
        return competatior1Comments;
    }

    public void setCompetatior1Comments(String competatior1Comments) {
        this.competatior1Comments = competatior1Comments;
    }

    public String getCompetatior2() {
        return competatior2;
    }

    public void setCompetatior2(String competatior2) {
        this.competatior2 = competatior2;
    }

    public String getCompetatior2Others() {
        return competatior2Others;
    }

    public void setCompetatior2Others(String competatior2Others) {
        this.competatior2Others = competatior2Others;
    }

    public float getCompetatior2Price() {
        return competatior2Price;
    }

    public void setCompetatior2Price(float competatior2Price) {
        this.competatior2Price = competatior2Price;
    }

    public String getCompetatior2PriceUnit() {
        return competatior2PriceUnit;
    }

    public void setCompetatior2PriceUnit(String competatior2PriceUnit) {
        this.competatior2PriceUnit = competatior2PriceUnit;
    }

    public String getCompetatior2Comments() {
        return competatior2Comments;
    }

    public void setCompetatior2Comments(String competatior2Comments) {
        this.competatior2Comments = competatior2Comments;
    }

    public float getDistributorMargin() {
        return distributorMargin;
    }

    public void setDistributorMargin(float distributorMargin) {
        this.distributorMargin = distributorMargin;
    }

    public float getMarginDollars() {
        return marginDollars;
    }

    public void setMarginDollars(float marginDollars) {
        this.marginDollars = marginDollars;
    }

    public String getTotalPrevMargins() {
        return totalPrevMargins;
    }

    public void setTotalPrevMargins(String totalPrevMargins) {
        this.totalPrevMargins = totalPrevMargins;
    }

    public String getMarginReason() {
        return marginReason;
    }

    public void setMarginReason(String marginReason) {
        this.marginReason = marginReason;
    }

    public String getPrevQuotationNo() {
        return prevQuotationNo;
    }

    public void setPrevQuotationNo(String prevQuotationNo) {
        this.prevQuotationNo = prevQuotationNo;
    }


    public int getQuotationId() {
        return quotationId;
    }

    public void setQuotationId(int quotationId) {
        this.quotationId = quotationId;
    }

    public String getQuotationNo() {
        return quotationNo;
    }

    public void setQuotationNo(String quotationNo) {
        this.quotationNo = quotationNo;
    }

    public int getOdmId() {
        return odmId;
    }

    public void setOdmId(int odmId) {
        this.odmId = odmId;
    }

    public int getEndCustomerId() {
        return endCustomerId;
    }

    public void setEndCustomerId(int endCustomerId) {
        this.endCustomerId = endCustomerId;
    }

    public String getNewEndCustomerName() {
        return newEndCustomerName;
    }

    public void setNewEndCustomerName(String newEndCustomerName) {
        this.newEndCustomerName = newEndCustomerName;
    }

    public String getNewEndUserName() {
        return newEndUserName;
    }

    public void setNewEndUserName(String newEndUserName) {
        this.newEndUserName = newEndUserName;
    }

    public String getContractPriceFileName() {
        return contractPriceFileName;
    }

    public void setContractPriceFileName(String contractPriceFileName) {
        this.contractPriceFileName = contractPriceFileName;
    }


    public String getContractPriceFileNamePath() {
        return contractPriceFileNamePath;
    }

    public void setContractPriceFileNamePath(String contractPriceFileNamePath) {
        this.contractPriceFileNamePath = contractPriceFileNamePath;
    }
    public String getCurrentPriceUnitsString()
    {
        return StringUtils.formatUnits( currentPriceUnits);
    }
    public String getTargetPriceUnitsString()
    {
        return StringUtils.formatUnits( targetPriceUnits);
    }


    public String getCompetatior1PriceUnitsType() {
        return competatior1PriceUnitsType;
    }

    public void setCompetatior1PriceUnitsType(String competatior1PriceUnitsType) {
        this.competatior1PriceUnitsType = competatior1PriceUnitsType;
    }

    public String getCompetatior2PriceUnitsType() {
        return competatior2PriceUnitsType;
    }

    public void setCompetatior2PriceUnitsType(String competatior2PriceUnitsType) {
        this.competatior2PriceUnitsType = competatior2PriceUnitsType;
    }

    public String getCompetatior1PriceUnitOthers() {
        return competatior1PriceUnitOthers;
    }

    public void setCompetatior1PriceUnitOthers(String competatior1PriceUnitOthers) {
        this.competatior1PriceUnitOthers = competatior1PriceUnitOthers;
    }

    public String getCompetatior2PriceUnitOthers() {
        return competatior2PriceUnitOthers;
    }

    public void setCompetatior2PriceUnitOthers(String competatior2PriceUnitOthers) {
        this.competatior2PriceUnitOthers = competatior2PriceUnitOthers;
    }

    public String getRebateTargetGoalTimeFrame() {
        return rebateTargetGoalTimeFrame;
    }

    public void setRebateTargetGoalTimeFrame(String rebateTargetGoalTimeFrame) {
        this.rebateTargetGoalTimeFrame = rebateTargetGoalTimeFrame;
    }


    public String getRebateTargetGoalTimeFrameOthers() {
        return rebateTargetGoalTimeFrameOthers;
    }

    public void setRebateTargetGoalTimeFrameOthers(String rebateTargetGoalTimeFrameOthers) {
        this.rebateTargetGoalTimeFrameOthers = rebateTargetGoalTimeFrameOthers;
    }

    public String getCompetatior1PriceUnitString()
    {
        return StringUtils.formatUnits( competatior1PriceUnit);
    }
    public String getCompetatior2PriceUnitString()
    {
        return StringUtils.formatUnits( competatior2PriceUnit);
    }

    
}
